﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace MShop.Core.Domain
{

    [MetadataType(typeof(Occasion_Validation))]
    public partial class Occasion
    {
    }

    internal partial class Occasion_Validation
    {

         [DisplayName("名称")]
         [System.ComponentModel.DataAnnotations.Required(ErrorMessage = "名称不能为空")]
         public string OccasionName { get; set; }
        
         [DisplayName("备注")]
         public string OccasionDesc { get; set; }
    }
}